package eigenfiles;

public class State{

	private int period;
	private int timeMin;
	private int timeSec;
	private int timeTen;
	private int shotClock;
	private int timeoutTime;
	private int scoreA;
	private int scoreB;
	private int teamfoulA;
	private int teamfoulB;
	private int timeoutA;
	private int timeoutB;
	private int arrow;
	
	public int getPeriod() {
		return period;
	}
	public void setPeriod(int period) {
		this.period = period;
	}
	public int getTimeMin() {
		return timeMin;
	}
	public void setTimeMin(int timeMin) {
		this.timeMin = timeMin;
	}
	public int getTimeSec() {
		return timeSec;
	}
	public void setTimeSec(int timeSec) {
		this.timeSec = timeSec;
	}
	public int getTimeTen() {
		return timeTen;
	}
	public void setTimeTen(int timeTen) {
		this.timeTen = timeTen;
	}
	public int getShotClock() {
		return shotClock;
	}
	public void setShotClock(int shotClock) {
		this.shotClock = shotClock;
	}
	public int getTimeoutTime() {
		return timeoutTime;
	}
	public void setTimeoutTime(int timeoutTime) {
		this.timeoutTime = timeoutTime;
	}
	public int getScoreA() {
		return scoreA;
	}
	public void setScoreA(int scoreA) {
		this.scoreA = scoreA;
	}
	public void addScoreA(){
		this.scoreA++;
	}
	public int getScoreB() {
		return scoreB;
	}
	public void setScoreB(int scoreB) {
		this.scoreB = scoreB;
	}
	public void addScoreB(){
		this.scoreB++;
	}
	public int getTeamfoulA() {
		return teamfoulA;
	}
	public void setTeamfoulA(int teamfoulA) {
		this.teamfoulA = teamfoulA;
	}
	public void addTeamfoulA() {
		this.teamfoulA++;
	}
	public int getTeamfoulB() {
		return teamfoulB;
	}
	public void setTeamfoulB(int teamfoulB) {
		this.teamfoulB = teamfoulB;
	}
	public void addTeamfoulB() {
		this.teamfoulB++;
	}
	public int getTimeoutA() {
		return timeoutA;
	}
	public void setTimeoutA(int timeoutA) {
		this.timeoutA = timeoutA;
	}
	public int getTimeoutB() {
		return timeoutB;
	}
	public void setTimeoutB(int timeoutB) {
		this.timeoutB = timeoutB;
	}
	public int getArrow() {
		return arrow;
	}
	public void setArrow(int arrow){
		this.arrow = arrow;
	}
	
	public static State dummyState() {
		State state = new State();
		state.setPeriod(3);
		state.setTimeMin(4);
		state.setTimeSec(35);
		state.setTimeTen(12);
		state.setShotClock(7);
		state.setTimeoutTime(60);
		state.setScoreA(35);
		state.setScoreB(25);
		state.setTeamfoulA(2);
		state.setTeamfoulB(1);
		state.setTimeoutA(1);
		state.setTimeoutB(2);
		state.setArrow(2);
		return state;
	}
	public static State defState() {
		State state = new State();
		state.setPeriod(0);
		state.setTimeMin(0);
		state.setTimeSec(0);
		state.setTimeTen(0);
		state.setShotClock(0);
		state.setTimeoutTime(0);
		state.setScoreA(0);
		state.setScoreB(0);
		state.setTeamfoulA(0);
		state.setTeamfoulB(0);
		state.setTimeoutA(0);
		state.setTimeoutB(0);
		state.setArrow(0);
		return state;
	}
}
